<?php
declare (strict_types=1);

namespace app\admin\validate;

use think\Validate;

class Carousel extends Validate
{
    protected $rule = [
        'title' => 'require',
        'position' => 'require',
        'type' => 'require'
    ];

    protected $message = [
        'title.require' => '请输入标题',
        'position.require' => '请选择位置',
        'type.require' => '请选择类型'
    ];
}